﻿#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
//成绩等级判定
int main()
{
	int grade;
	printf("请您输入成绩(0-100):\n");
	scanf("%d", &grade);
	switch (grade / 10)
	{
	case 10:
	case 9:
		printf("A\n");
		break;
	case 8:
		printf("B\n");
		break;
	case 7:
		printf("C\n");
		break;
	case 6:
		printf("D\n");
		break;
	default:
		printf("E\n");
	}
	return 0;
}